package com.demo.pojo.DTO;

import lombok.Data;
// 给用户管理中提供角色下拉框
// 展示层 不提供set 创建时赋值
@Data
public class DTOUserRole {
    private Integer id;
    private Integer roleId;
    private Integer userId;
    private String roleName;
    private int isDeleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }

    public DTOUserRole() {
    }

    public DTOUserRole(Integer id, Integer roleId, Integer userId, String roleName, int isDeleted) {
        this.id = id;
        this.roleId = roleId;
        this.userId = userId;
        this.roleName = roleName;
        this.isDeleted = isDeleted;
    }
}
